<script setup>
defineProps({
  articleList: {
    type: Array,
    default: () => [],
  },
})
</script>

<template>
  <div class="wh-full px-10">
    <el-empty
      v-if="articleList.length === 0"
      description="这里什么也没有"
      class="us"
    >
      <OpenTag :to="{ name: 'Editor' }">
        <el-button type="primary">
          开始创作
        </el-button>
      </OpenTag>
    </el-empty>
  </div>
</template>

<style scoped></style>
